<template>
  <div>
    <van-grid :column-num="5">
      <van-grid-item v-for="value in 6" :key="value" icon="photo-o" text="文字" />
        <!-- <van-image src="" /> -->
      <!-- </van-grid-item> -->
    </van-grid>
    <van-grid :column-num="3">
        <van-grid-item v-for="value in 6" :key="value" icon="photo-o" text="文字" />
    </van-grid>
  </div>
</template>

<script lang="ts">
import { defineComponent, toRefs } from 'vue'
import { GridItemType } from '../types/common'

export default {
  name: 'grid',
  props: {
    gridList: {
      type: Array,
      required: true
    }
  },
  setup (props: any) {
    const { gridList } = props

    console.log('girdList', gridList)

    return {
      gridList
    }
  }
}
</script>
